package com.neusoft.jxc.bean;

/**
 * 
 * Goods is a Base ， 继承关系
 * 
 * @author chens
 *
 */
public class Goods extends Base {

	private Integer goodsNo;
	private String goodsName;

	/**
	 * Goods has-a GoodsType的关系，强依赖关系:组合依赖
	 */
	private GoodsType goodsType;

	/**
	 * Goods has-a Provider的关系，强依赖关系:组合依赖
	 */
	private Provider provider;

	private String specification;
	private String remark;
	/**
	 * 商品主图
	 */
	private String mainImage;

	public Goods() {
		super();
	}

	public Goods(Integer goodsNo) {
		super();
		this.goodsNo = goodsNo;
	}

	public Goods(Integer goodsNo, String goodsName, String specification, String remark, String mainImage) {
		super();
		this.goodsNo = goodsNo;
		this.goodsName = goodsName;
		this.specification = specification;
		this.remark = remark;
		this.mainImage = mainImage;
	}

	public Goods(Integer goodsNo, String goodsName, GoodsType goodsType, Provider provider, String specification,
			String remark, String mainImage) {
		super();
		this.goodsNo = goodsNo;
		this.goodsName = goodsName;
		this.goodsType = goodsType;
		this.provider = provider;
		this.specification = specification;
		this.remark = remark;
		this.mainImage = mainImage;
	}

	public Integer getGoodsNo() {
		return goodsNo;
	}

	public void setGoodsNo(Integer goodsNo) {
		this.goodsNo = goodsNo;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public GoodsType getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(GoodsType goodsType) {
		this.goodsType = goodsType;
	}

	public Provider getProvider() {
		return provider;
	}

	public void setProvider(Provider provider) {
		this.provider = provider;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getMainImage() {
		return mainImage;
	}

	public void setMainImage(String mainImage) {
		this.mainImage = mainImage;
	}

}
